package com.zwj.common.exception;

/**
 * @ClassName GuliMallMsgEnum
 * @Description TODO
 * Author zwJ
 * Date 2020/8/16 16:24
 * Version 1.0
 **/
public enum GuliMallAdviceEnum {
    /**
     * 服务器未知异常发生
     */
    UNKNOWN_OPEN_EXCEPTION(10000, "服务器未知异常发生"),
    /**
     * 参数校验异常发生
     */
    PARAM_VERIFY_EXCEPTION(10001, "参数校验异常发生");


    private Integer code;

    private String msg;

    GuliMallAdviceEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
